package com.es.elasticsearch.model.item;

import lombok.Data;

@Data
public class EmergencyRecordOrgResource {
/*  `isResoure` int(11) DEFAULT NULL COMMENT '1摄像机；2组织结构',
  `orgId` int(11) DEFAULT NULL,
  `userId` int(11) DEFAULT NULL,
  `planId` int(11) DEFAULT NULL,
  `camera_orgId` int(11) DEFAULT NULL,
  `allOrg` varchar(255) DEFAULT NULL,
  `authUserRecordName` varchar(128) NOT NULL COMMENT '授权名称',*/

    private Integer orgId;

    private Integer isResource;

    private String userId;

    private Integer planId;

    private long cameraOrgId;

    private String allOrg;

    private String authUserRecordName;

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public Integer getIsResource() {
        return isResource;
    }

    public void setIsResource(Integer isResource) {
        this.isResource = isResource;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public long getCameraOrgId() {
        return cameraOrgId;
    }

    public void setCameraOrgId(long cameraOrgId) {
        this.cameraOrgId = cameraOrgId;
    }

    public String getAllOrg() {
        return allOrg;
    }

    public void setAllOrg(String allOrg) {
        this.allOrg = allOrg;
    }

    public String getAuthUserRecordName() {
        return authUserRecordName;
    }

    public void setAuthUserRecordName(String authUserRecordName) {
        this.authUserRecordName = authUserRecordName;
    }

    public EmergencyRecordOrgResource() {
    }

    public EmergencyRecordOrgResource(Integer orgId, Integer isResource, long cameraOrgId) {
        this.orgId = orgId;
        this.isResource = isResource;
        this.cameraOrgId = cameraOrgId;
    }
}
